<template>
    <div class="hotnews">
        <h2>热点新闻组件</h2>
        <section>
            <router-link to="/hotnews/news">新闻列表</router-link>
            <router-link to="/hotnews/images">图片列表</router-link>
        </section>
        <div>
            <router-view></router-view>
            <router-view name="a"></router-view>
        </div>
    </div>
</template>

<script>
export default {
    name:'HotNews'
}
</script>

<style scoped>
    .hotnews{
        width: 100%;
        height: 70%;
        background-color: darkorchid;
    }
</style>